[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 22 Jan 2025 22:57:51 +0000 (23:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 22 Jan 2025 22:57:51 +0000 (23:57 +0100)
commit3dad37f51b730d418de517bd84e01cbc25718d98
tree1d84a83a85cfc6ccdb333c72724d1b16c33f9dc3
parent05917ceffc198d96a967f8e62ee8a8f6027e3e11
[PATCH] Workaround to add IPv6 support to getifaddrs

ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff
sysdeps/mach/hurd/ifaddrs.c [new file with mode: 0644]